package cn.wolfcode.trip.base.service;

import java.util.Map;

public interface IStrategyConcernService {
    /**
     *
     * @param strategyId 根据攻略id查询对应的点赞和收藏数
     * @return 将点赞和收藏数 封装到map集合
     * @author Jack.Zheng
     */
    Map<String,Integer> getLikerAndCollectorNums(Long strategyId);

    Integer insertAndGetNewLikerNums(Long strategyId, Long likerId);

    Integer insertAndGetNewCollectorNums(Long strategyId, Long collectorId);
}
